﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RoadTeam.Enums;
using System.Reflection;
using System.Data;

namespace RoadTeam.SysInterface
{

    public static partial class FactoryClass
    {
        private static RoadTeam.SysInterface.ICsRoomObjectRela _iCsRoomObjectRela = null;

        public static ICsRoomObjectRela CreateCsRoomObjectRela()
        {
            if (_iCsRoomObjectRela == null)
            {
                string className = GlobalConfig.RtSystemPath + ".CS.HomeInspection.TbCsRoomObjectRela_Sys";
                _iCsRoomObjectRela = (ICsRoomObjectRela)Assembly.Load(GlobalConfig.RtSystemPath).CreateInstance(className);
            }
            return _iCsRoomObjectRela;
        }
    }



    public interface ICsRoomObjectRela
    {

        bool UpdateRoomObjectRelaData(DataTable dt);

        DataTable GetRoomObjectRelaData();

    }
}
